package com.resign.carl.decorate.enumeration;

import com.resign.carl.lang.EnumCode;

/**
 * Created by carl.zhao on 2016/6/14.
 */
public enum CapSize implements EnumCode<Integer> {
    TALL(1, "小杯"),
    GRANDE(2, "中杯"),
    WENTI(3, "大杯");
    private Integer key;
    private String desc;
    CapSize(Integer key, String desc){
        this.key =  key;
        this.desc = desc;
    }

    @Override
    public Integer getKey() {
        return key;
    }

    @Override
    public String getDescription() {
        return desc;
    }
}
